<template>
  <div class="header">
    <router-link to="/">
      <div class="header-back iconfont">&#xe624;</div>
    </router-link>
    <div class="header-title">城市选择</div>
  </div>
</template>

<script>
export default {
  name: 'CityHeader'
}
</script>

<style lang="stylus" scoped>
  @import "~styles/var.styl"
  .header
    position relative
    height $headerHeight
    line-height $headerHeight
    overflow hidden
    background $bgcolor
    text-align center
    font-size $titleFontSize
    .header-back
      color $whiteFontColor
      position absolute
      text-align center
      left 0
      top: 0
      font-size .4rem
      width: .64rem
    .header-title
      color $whiteFontColor
</style>
